*{
    margin: 0;
    padding: 0;
}
body{
    position: fixed;
    background: url(./背景图1.jpg) no-repeat;
    max-width: 100%;
    background-size: cover ;

}
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted rgb(91, 96, 88);
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: rgb(91, 96, 88);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgb(91, 96, 88) transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}
.chat{
    opacity: 1;
    width: 250px;
    height: 110px;
    margin: -20px 20px;
    padding: 5px 10px;
    border: 1px solid rgba(215, 170, 221, 0.62);
    border-radius: 12px;
    background-color: rgba(255, 255, 255);
    box-shadow: 0 3px 15px 2px rgba(241, 171, 249, 0.416);
    font-size: 12px;
    text-overflow: ellipsis;
    overflow: hidden;
    position: absolute;
    left: 650px;
    top: 570px;
    animation-delay: 5s;
    animation-duration: 50s;
    animation-iteration-count: infinite;
    animation-name: shake;
    animation-timing-function: ease-in-out;
}

/* 收缩动画 */
/* @keyframes example1 {
    0%{}
    90%{border-radius:50%;transform:translate(-195px,194px) scale(.071,.071);}
    100%{border-radius:100%;transform:scale(0,0);}
}
@keyframes example2 {
    0%{border-radius:100%;transform:scale(0,0);}
    10%{border-radius:50%;transform:translate(-195px,194px) scale(.071,.071);}
    100%{}
} */
/*输入框*/
.response{
    opacity: 1;
    width: 250px;
    height: 70px;
    margin: -20px 20px;
    padding: 5px 10px;
    border: 1px solid rgba(215, 170, 221, 0.62);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0px 10px 0px rgba(241, 171, 249, 0.416);
    font-size: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    position: absolute;
    left: 0px;
    animation-delay: 5s;
    animation-duration: 50s;
    animation-iteration-count: infinite;
    animation-name: shake;
    animation-timing-function: ease-in-out;
    color: rgb(46, 46, 46);
}
.box{
    border: none;
    resize: none;
    outline:none;
    display:block;
    border-radius: 4px;
    background-color: rgba(241, 217, 249,0.9);
    width: 250px;
    height: 75px;
    margin:0 auto;
    margin-top:5px;
    font-size: 20px;
    color: rgb(113, 139, 255);
}
#btn{
    opacity: 1;
    width: 50px;
    height: 25px;
    display:block;
    outline:none;
    float:right;
    background-color: rgb(215, 167, 214);
    border: 1px solid rgba(235, 213, 245, 0.62);
    color: rgba(242, 247, 245, 0.87);
}
.tv{
    display: flex;
}
.question{
    opacity: 1;
    width: 405px;
    height: 176px;
    margin: -20px 20px;
    padding: 5px 10px;
    border: 3px solid #5b5336;
    border-radius: 0px;
    background-color: #6e6965;
    font-size: 25px;
    line-height: 170px;
    text-align: center;
    outline:none;
    text-overflow: ellipsis;
    overflow: hidden;
    position: absolute;
    left: 540px;
    top: 247px;
    color: rgb(241, 241, 241);
    z-index: -10;
}
.bottle{    /*改*/
    display: none;
    opacity: 1;
    width: 405px;
    height: 176px;
    margin: -20px 20px;
    padding: 5px 10px;
    border: 3px solid #5b5336;
    border-radius: 0px;
    background-color: #6e6965;
    font-size: 15px;
    outline:none;
    text-overflow: ellipsis;
    overflow: scroll;
    overflow-x: hidden;
    position: absolute;
    left: 540px;
    top: 247px;
    color: rgb(241, 241, 241);
    z-index: -10;
}
.bottle::-webkit-scrollbar {display:none;}
/* 输出框 */
.bottle p{
    opacity: 1;
    width: 200px;
    height: 30px;
    margin: 20px 20px;
    padding: 5px 10px;
    /* clear: both; */
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 12px;
    background-color: #6e6965;
    box-shadow: 0 3px 15px 2px rgba(252, 252, 252, 0.2);
    font-size: 15px;
    text-overflow: ellipsis;
    
    animation-delay: 5s;
    animation-duration: 50s;
    animation-iteration-count: infinite;
    animation-name: shake;
    animation-timing-function: ease-in-out;
    color:  rgb(255, 255, 255);
}
.ball{
    width: 15px;
    height: 15px;
    border:1px solid rgba(255, 255, 255, 0.62);
    border-radius: 60px;
    background-color: rgba(255, 255, 255, 0.5);
    animation-delay: 5s;
    animation-duration: 50s;
    outline:none;
    animation-iteration-count: infinite;
    animation-name: shake;
    animation-timing-function: ease-in-out;
    position: absolute;
    top: 420px;
    left: 770px;
}
